Add support for reading/writing IELM input history (bug#67000)
authorSimen Heggestøyl <simenheg@runbox.com>
Tue, 16 Jan 2024 07:21:41 +0000 (08:21 +0100)
committerSimen Heggestøyl <simenheg@runbox.com>
Thu, 15 Feb 2024 07:46:28 +0000 (08:46 +0100)
commit60cff1ac9d216e5abcb350ea5e623ab0b377c131
tree3f1163738918a2c976d3221337d3bee95362aab5
parent783a511d1e31b5c9e5f9cb8ec27fd91d1b9078c9
Add support for reading/writing IELM input history (bug#67000)

* lisp/ielm.el (inferior-emacs-lisp-mode): Add support for saving input
history to a file.
(ielm--history-file-name): New variable indicating IELM input history
file.
(ielm--exit): Holds a function to call when Emacs is killed to write
out the input history.
(ielm--input-history-writer): Helper function for writing the IELM
input history out to file.

* lisp/comint.el (comint-input-ring-file-name): Improve defcustom tag.
etc/NEWS
lisp/comint.el
lisp/ielm.el